import instance from "@/utils/request";
export const addApplication = (data) => {
    return instance({
      method: "post",
      url: "/Declaration/addDeclaration",
      data,
    });
  };
  export const addFamilyMember = (data) => {
    return instance({
      method: "post",
      url: "/familymember/addFamilymember",
      data,
    });
  };
  // selectByCard
  export const selectByCard= (params) => {
    return instance({
      method: "get",
      url: "/Declaration/selectDeclarationByCard",
      params,
    });
  };